abstract class Shape {
    public abstract void draw();
}

class Cycle extends Shape {
    public void draw() {
        System.out.println("○");
    }
}
class Flower extends Shape {
    public void draw() {
        System.out.println("❀");
    }
}
public class Text {
    public static void drawMap(Shape shape) {
        shape.draw();
    }
    public static void main(String[] args) {
        Shape shape1=new Cycle();
        Shape shape2=new Flower();
        Shape[] shapes={shape1,shape2};
        for (Shape shape : shapes) {
            shape.draw();
        }
    }

}
